#ifndef __________________WARD___UI_ELEMENT_CPP
#define __________________WARD___UI_ELEMENT_CPP


#include "uielement.h"



uielement::uielement()
{

enabled = true;

}


void uielement::writeText(GLfloat x,GLfloat y,GLfloat x_scale,GLfloat y_scale,GLfloat y_space,string text)
{
		glPushMatrix();
			glTranslatef(x,y,0);
			glScalef(x_scale,-y_scale,0.0);
				for(unsigned int q=0;q<text.size();++q)
				{glutStrokeCharacter(GLUT_STROKE_ROMAN,text[q]);}
		glPopMatrix();

}

#endif